package com.glory.gloryquickui.entity


data class BaseResponseBean<T>(
    var body: Body<T> = Body(),
    var result: Result = Result()
) {
    data class Body<T>(
        var current: Int = 0, // 1
        var hitCount: Boolean = false, // false
        var orders: List<Any> = listOf(),
        var pages: Int = 0, // 7
        var records: T? = null,
        var searchCount: Boolean = false, // true
        var size: Int = 0, // 100
        var total: Int = 0, // 634
        var formId: String = "",
        var formName: String = "",
        var formJson: String = "",
        var fromType: String = "",
        var version: String = "",
        var formSourceID: String = "",
        var formSourceName: String = "",
        var formSourceJson: String = "",
        var description: String = "",
        var classifyName: String = "",
    )

    data class Result(
        var code: String = "", // 200
        var message: String = "" // 操作成功
    )
}